//
//  NSObject+YSAdd.m
//  YSKitExample
//
//  Created by MOLBASE on 2017/7/3.
//  Copyright © 2017年 YangShen. All rights reserved.
//

#import "NSObject+YSAdd.h"
#import <objc/runtime.h>

@implementation NSObject (YSAdd)

+ (NSString *)className {
    return NSStringFromClass(self);
}

- (NSString *)className {
    return [NSString stringWithUTF8String:class_getName([self class])];
}

@end
